// import { BrowserModule } from '@angular/platform-browser';
// // DevUI部分组件依赖angular动画，需要引入animations模块
// import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
// import { NgModule } from '@angular/core';
// import { DevUIModule } from 'ng-devui';
// import { CommonModule } from '@angular/common';
// import { RouterOutlet } from '@angular/router';
// import { IconModule } from 'ng-devui/icon';

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
// DevUI部分组件依赖angular动画，需要引入animations模块
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { ClipboardModule } from '@angular/cdk/clipboard';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { HttpClientJsonpModule, HttpClientModule } from '@angular/common/http';
import { DevUIModule } from 'ng-devui';
import { I18nModule } from 'ng-devui/i18n';
import { IconModule } from 'ng-devui/icon';
import { LazyLoadModule } from 'ng-devui/utils';
import { NumberTransModule } from 'ng-devui/number-translation';
import { provideRouter, RouterLink, RouterOutlet } from '@angular/router';

import { AppComponent } from './app.component';
import { AnimateComponent } from './animate/animate.component';
import { HeroListPagComponent } from './hero-list-page.component';
import { AppRoutingModule } from './app.routes';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    HttpClientJsonpModule,
    ClipboardModule,
    DevUIModule,
    I18nModule,
    IconModule,
    LazyLoadModule,
    NumberTransModule,
    RouterOutlet,
    AnimateComponent,
    RouterLink,
    HeroListPagComponent,
    AppRoutingModule
  ],
  bootstrap: [ AppComponent ],
})
export class AppModule { }
